package demo;

public class StaticClassDemo {

    /**
     * public类型的静态方法，没有入参和返回值
     */
    public static void noReturnAndArgs(){
        System.out.println("exec public static method with no return and no arguments");
        throw new UnsupportedOperationException("mock failed!");
    }

    /**
     * public类型的静态方法，没有入参，存在int类型的返回值
     * @return
     */
    public static int noArgsWithBasicIntReturn(){
        throw new UnsupportedOperationException("mock failed!");
    }

    /**
     * public类型的静态方法，int类型的入参，没有返回值
     * @param num
     */
    public static void noReturnWithIntArg(int num){
        System.out.println("public method : int arg="+num+";");
        throw new UnsupportedOperationException("mock failed!");
    }

    /**
     * public类型的静态方法，int类型的入参，返回值入参++
     * @param num
     * @return
     */
    public static int withIntReturnAndArg(int num){
        System.out.println("public method : int arg="+num);
        throw new UnsupportedOperationException("mock failed!");
    }

}
